package Entity;

import java.io.Serializable;

import Control.OP_CODE;

/**
 *this is the main entity that sent to the server
 *include object that contain data and op code
 *according to the op code we run query
 * @author Natali
 *
 */
public class MsgPackage implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


		
	private Object object;
	private OP_CODE op_code;
	

	
	public MsgPackage() {
		
	}



	public Object getObject() {
		return object;
	}



	public void setObject(Object object) {
		this.object = object;
	}



	public OP_CODE getOp_code() {
		return op_code;
	}



	public void setOp_code(OP_CODE op_code) {
		this.op_code = op_code;
	}



	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	

}
